#include<stdio.h>//1 
#include<math.h>
int main()
{
    int x,y;
    scanf("%d",&x);
    if(x<1) 
	{
        y=x;
        printf("y=x=%d",y);
    }
    else if(x>=1 && x<10) 
    {
        y=2*x-1;
        printf("y=2x-1=%d",y);
    }
    else 
	{
        y=3*x-11;
        printf("y=3x-11=%d",y);
    }
    return 0;
}
